package cn.wenzy.aurora.framework.constant;


/**
 * 常量
 */
public interface IConstant {

    String STAR = "*";

    String SEMICOLON = ";";

    String SYSTEM_PROPERTY_BASEDIR = "system.basedir";

    int ZERO = 0;

    interface I18N_MESSAGE {
        interface MESSAGE {
            String SUCCESSFUL = "message.successful";
            String FAILED = "message.failed";
        }

        interface EXCEPTION {
            String UNKNOW_EXCEPTION = "exception.unknowException";
            String MAX_UPLOAD_SIZE_EXCEEDED = "exception.maxUploadSizeExceeded";
        }

        interface VALIDATION {
            String LENGTH = "validation.length";
            String REGEX = "validation.regex";
            String START_WITH_LETTER = "validation.startWithLetter";
            String WITH_UPPERCASE_LETTERS = "validation.withUppercaseLetters";
            String WITH_LOWERCASE_LETTERS = "validation.withLowercaseLetters";
            String WITH_NUMBERS = "validation.withNumbers";
            String NO_CHINESE = "validation.noChinese";
            String WITH_SPECIAL_CHARACTERS = "validation.withSpecialCharacters";
        }
    }
}
